module.exports = (options) => {
  return async (ctx, next) => {
    console.log('check中间件')
    if (ctx.state.user.userid === 0) {
      await next()
    }
  }
}